<style>
.weui_gou{position: absolute;right: 4rem;top:1rem;width:3rem;height: 3rem;z-index: 10;}
</style>
<div class="order-list-page" ng-if="pagedata.op == 'list'">
    <div class="fui-header">
		<div class="fui-header-left" ng-click="goback()">
            <a class="back"></a>
        </div>
		<div class="title">我参与答卷</div>
		<div class="fui-header-right"></div>
	</div>
	<div class='fui-content order-list' style="">
	<div class="fui-list-group order-item" ng-repeat="item in pagedata.list">
                <a class="fui-list external" style="padding: 0.42rem 0.5rem" data-nocache="true">
                    <div class="fui-list-inner">
                        <div class="subtitle"> 得分: {{item.score}}</div>
                    </div>
                    <div class="row-remark text-cancel" style="width: 4rem; font-size: 0.65rem;text-align: right;">{{item.scoretitle || '一般'}}</div> 
                    <div class="angle"></div>
                </a> 
                    <a href="" class="external" data-nocache="true" ng-click="access_json('jy_ailiao/ping.datilog/detail/id='+item.id)">
                        <div class="fui-list goods-list">
                            <div class="fui-list-inner">
                                <div class="text goodstitle towline bold">{{item.title || '答卷名称'}}</div>
								<div class="text" style="color:#f60;font-size:0.70rem">答卷题目数：{{item.num}}道</div>
								<div class="text" style="color:#f60;font-size:0.70rem">答卷总分：{{item.allscore}}分</div>
                            </div>
                        </div>
                    </a>
                <div class="fui-list-group-title lineblock">
					<span style="color:#999;font-size:0.75rem"><i class="icon jinyunicon icon-shijian" style="color:#f60;font-size:0.76rem"></i> {{item.createtime}}</span>
                </div>
        </div>
	</div>
	<div class="content-empty" ng-show="pagedata.order_list.length == 0 ">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;font-size:2rem"></i><br/><p style="color: #999;font-size: .75rem">您暂时还没有答卷！</p>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<div class="order-list-page" ng-if="pagedata.op == 'detail'">
    <div class="fui-header">
		<div class="fui-header-left" ng-click="goback()">
            <a class="back"></a>
        </div>
		<div class="title">答卷详情</div>
		<div class="fui-header-right"></div>
	</div>
	<div class='fui-content member-page'>
		<div class="fui-list-group merchgroup">
			<div class="fui-list jump">
                <a class="fui-list-media">
                    <img class="round" src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/nopic.jpg'}}" />
                </a>
                <div class="fui-list-inner">
                    <div class="title">{{pagedata.member.realname || '匿名用户'}}</div>
					<div class="title" style="font-size:0.65rem">昵称：{{pagedata.member.nickname}}</div>
					<div class="title" style="font-size:0.65rem">手机号：{{pagedata.member.mobile}}</div>
                </div>
                <a class="jump" href="javascript:;">
					
				</a>
            </div>
		</div>
	<div class="weui_cells_title c bold" style="padding-left:0">{{pagedata.item.title}}</div>
	<div class="fixed-title" style="margin-top:1rem">
							 <span class="befirst spacing">
								 <span class="icon icon-fengexianzuo" style="font-size:2rem;color:#666"></span>
							 </span> 
							 <span class="title-text bold" style="color:#333;line-height:2rem">答题详情</span> 
							 <span class="spacing">
								 <span class="icon icon-fengexianyou" style="font-size:2rem;color:#666"></span>
							 </span>
	</div>
	<div class="fixed-title c" style="margin-top:0.5rem">
			获得：<span class="red bold" style="font-size:1.6rem">{{pagedata.order.score || 0}}分</span>（总分：{{pagedata.order.allscore || 0}}分）			
	</div>
	<div class="weui_cells weui_cells_form" ng-repeat="(i,item) in pagedata.order.content">
				<div class="weui_cell" ng-if="item.type == 1  || item.type == 9">
					<div class="weui_cell_hd"><label class="weui_label">{{item.title}}<span ng-if="item.is_must || item.ismust" class="must"></span></label></div>
					<div class="weui_cell_bd weui_cell_primary disabled">
						{{item.data}}
					</div>
					<div class="weui_gou">
							<img ng-if="item.daan-1==item.data" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/dui.png">
							<img ng-if="item.daan-1!=item.data" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/cuo.png">
					</div>
				</div>
				<div ng-if="item.type == 4">
					<div class="weui_cells_title" style="padding-left:0">{{item.title}}</div>
					<div class="weui_cells weui_cells_radio2 disabled">
							<label class="weui_cell weui_check_label dashed" ng-repeat="(key,value) in item.xuanxiang">
								<div class="weui_cell_bd weui_cell_primary">
									<span style="float:left;width:100%">{{value.title}}</span>
								</div>
								<div class="weui_cell_ft" href="javascript:;" ng-click="item.data=key;">
									<input type="radio" class="weui_check" ng-checked="item.data==key">
									<span class="weui_icon_checked"></span>
								</div>
							</label>
					</div>
					<div class="weui_gou">
						<img ng-if="item.getscore" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/dui.png">
						<img ng-if="!item.getscore" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/cuo.png">
					</div>
				</div>
				<div ng-if="item.type == 5">
					<div class="weui_cells_title" style="padding-left:0">{{item.title}}</div>
					<div class="weui_cells weui_cells_checkbox disabled" style="padding:0.5rem">
							<div class="fui-cell-label" style="margin-right:0.8rem;float:left;margin-bottom:0.2rem" ng-repeat="(key,value) in item.xuanxiang">
								<input type="checkbox" ng-checked="item.data.indexOf(';'+key+';')>=0" class="fui fui-checkbox fui-checkbox-danger verify-checkbox" value="{{value.title}}" id="s11"> {{value.title}}
							</div>
					</div>
					<div class="weui_gou">
						<img ng-if="item.getscore" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/dui.png">
						<img ng-if="!item.getscore" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/cuo.png">
					</div>
				</div>
				<div ng-if="item.type == 20">
					<div class="weui_cells_title" style="padding-left:0">{{item.title}}</div>
					<div class="weui_cells weui_cells_radio2 disabled">
							<label class="weui_cell weui_check_label dashed">
								<div class="weui_cell_bd weui_cell_primary">
									<span style="float:left;width:100%">错</span>
								</div>
								<div class="weui_cell_ft">
									<input type="radio" class="weui_check" ng-checked="item.data==0">
									<span class="weui_icon_checked"></span>
								</div>
							</label>
							<label class="weui_cell weui_check_label dashed">
								<div class="weui_cell_bd weui_cell_primary">
									<span style="float:left;width:100%">对</span>
								</div>
								<div class="weui_cell_ft">
									<input type="radio" class="weui_check" ng-checked="item.data==1">
									<span class="weui_icon_checked"></span>
								</div>
							</label>
					</div>
					<div class="weui_gou">
						<img ng-if="item.getscore" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/dui.png">
						<img ng-if="!item.getscore" alt="" width="100%" height="100%" src="/addons/jy_ailiao/resource/images/cuo.png">
					</div>
				</div>
				
		</div>

</div>
<div ng-include="sys_html('_footer')"></div>
<script>
if(scope.pagedata.op == 'list'){
	scope.tool.get_list('jy_ailiao/ping.datilog/list/',true);
	scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_ailiao/ping.datilog/list/status='+scope.pagedata.status);
	}
}
</script>